package com.manage.model;


public class ProductCodeProvince {
	
	private int id;
	private int productId;
	private int productCodeId;  
	private String provinceCode;
	private String dailyLimit;
	private String monthlyLimit;
	private String dailyCapacity;
	private String monthlyCapacity;
	private String productCodeStatus;
	private String createUser;
	private String createDate;
	private String level;
	
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	public ProductCodeProvince()
	{
		
	}
	public ProductCodeProvince(String provinceCode, ProductCodeInfo code)
	{
		this.provinceCode = provinceCode;

		id = -1;
		productCodeId = code.getId();
		productId = code.getProductId();
		dailyLimit = "0";
		monthlyLimit = "0";
		dailyCapacity = "0";
		monthlyCapacity = "0";
		productCodeStatus = code.getProductCodeStatus();
	}
	
	public ProductCodeProvince(SpCodeProvince p, ProductCodeInfo code)
	{
		this.provinceCode = p.getProvinceCode();

		id = -1;
		productCodeId = code.getId();
		productId = code.getProductId();
		dailyLimit = p.getDailyLimit();
		monthlyLimit = p.getMonthlyLimit();
		dailyCapacity = p.getDailyCapacity();
		monthlyCapacity = p.getMonthlyCapacity();
		productCodeStatus = code.getProductCodeStatus();
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getProductId() {
		return productId;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	public int getProductCodeId() {
		return productCodeId;
	}
	public void setProductCodeId(int productCodeId) {
		this.productCodeId = productCodeId;
	}
	public String getProvinceCode() {
		return provinceCode;
	}
	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}
	public String getDailyLimit() {
		return dailyLimit;
	}
	public void setDailyLimit(String dailyLimit) {
		this.dailyLimit = dailyLimit;
	}
	public String getMonthlyLimit() {
		return monthlyLimit;
	}
	public void setMonthlyLimit(String monthlyLimit) {
		this.monthlyLimit = monthlyLimit;
	}
	public String getDailyCapacity() {
		return dailyCapacity;
	}
	public void setDailyCapacity(String dailyCapacity) {
		this.dailyCapacity = dailyCapacity;
	}
	public String getMonthlyCapacity() {
		return monthlyCapacity;
	}
	public void setMonthlyCapacity(String monthlyCapacity) {
		this.monthlyCapacity = monthlyCapacity;
	}
	public String getProductCodeStatus() {
		return productCodeStatus;
	}
	public void setProductCodeStatus(String productCodeStatus) {
		this.productCodeStatus = productCodeStatus;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	
}
